import request from '@/utils/request'

// 初始化
export function init() {
  return request({
    url: '/mainpointstemplate/fundMainPointsTemplate/init',
    method: 'get'
  })
}

// 保存设立要点
export function savePoint(data) {
  return request({
    url: '/point/fundKeyPoint/save',
    method: 'post',
    data: data
  })
}

// 查询设立要点
export function list(params) {
 return request({
   url: '/point/fundKeyPoint/list',
   method: 'get',
   params: params
 })
}

// 统计设立要点落实情况
export function pointCount(fundId) {
 return request({
   url: '/point/fundKeyPoint/pointCount',
   method: 'get',
   params: { 'fundId': fundId }
 })
}
